import Vue from 'vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import App from './App.vue'

import router from './router/index' //导入路由router
//引用 echarts

import * as echarts from 'echarts'

import VScaleScreen from 'v-scale-screen'
Vue.use(VScaleScreen)
//使用echarts
Vue.prototype.$echarts = echarts

Vue.config.productionTip = false
Vue.use(ElementUI)
new Vue({
  render: h => h(App),
  router
}).$mount('#app')
